import functools
import logging
import time

logging.basicConfig(level=logging.INFO)

def log_execution_time(func):
    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        start_time = time.time()
        result = func(*args, **kwargs)
        t = round(time.time() - start_time, 2)
        logging.info(f"Executing {func.__name__} took {t} seconds")
        return result
    return wrapper

@log_execution_time
def slow_function():
    time.sleep(1)

slow_function()